
package net.swa.dewei.service;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import net.swa.dewei.beans.vo.Statis;
import net.swa.dewei.beans.vo.StatisMendian;
import net.swa.dewei.beans.vo.StatisPlusMendian;
import net.swa.dewei.beans.vo.VoListPage;
import net.swa.util.JsonResult;

/**
 * StatisService service接口
 * @author junyu
 *
 */
public interface StatisService
{

    //根据条件查询分页
    JsonResult<Statis> queryPage(String sdate , String edate , String name , int currentPage , int pageSize);

    /***
     * 根据查询条件导出excel
     * @param sdate
     * @param edate
     * @param name
     * @return
     */
    HSSFWorkbook exportExcel(String sdate , String edate , String name);

    /**
     * 服务站统计
     * @param fuwuzhanId
     * @param sdate
     * @param edate
     * @param name
     * @param changeType
     * @param currentId
     * @param pageSize
     * @return
     */
    JsonResult<StatisMendian> queryStaticPage(Long fuwuzhanId , String sdate , String edate , String name , String changeType , int currentPage , int pageSize);

    HSSFWorkbook exportExcelFwz(Long fuwuZhanId , String sdate , String edate , String name , String changeType);

    JsonResult<StatisPlusMendian> queryPlusMendPage(Long fuwuZhanId,String sdate , String edate , String name , String orderBy , String orderType , int currentPage , int pageSize);
}